﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace UI.Web.SL.Demo.SysAdmin.Controls
{
    public partial class PageContainer : TabItem
    {
        public PageContainer()
        {
            InitializeComponent();
        }

        private void CloseBTN_Click(object sender, RoutedEventArgs e)
        {
            var tc = this.Parent as TabControl;
            tc.Items.Remove(this);
        }

        private void TabItem_Loaded(object sender, RoutedEventArgs e)
        {

        }
    }
}
